﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Theme_3_ProjectDescription :PowerCreator.LMS.Web.Base.WebBasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string projectid = Request.QueryString["ProjectID"].ToString();
            ViewState["ProjectID"] = projectid;
            BinderPageData();
        }
    }
    protected override void InitPage()
    {
        base.InitPage();
    }
    private void BinderPageData()
    {
        PowerCreator.LMS.Project.Entity.VOTTrainProject voProject = new PowerCreator.LMS.Project.Entity.VOTTrainProject();
        PowerCreator.LMS.Web.Project.Project opProject = new PowerCreator.LMS.Web.Project.Project();
        voProject = opProject.LoadTrainProject(int.Parse(ViewState["ProjectID"].ToString()));
        if (voProject.TrainproID > 0)
        {
            this.Title = "方案简介----" + voProject.TrainproName;
            lbl_ProjectName.Text = voProject.TrainproName;
            lit_ProjectContent.Text = voProject.TrainproDescription;
        }
    }
}
